cmake_minimum_required(VERSION 3.15)
project(test_prop_append)

enable_testing()
add_test(NAME mytest COMMAND echo "abc")

set_property(TEST mytest PROPERTY test_prop "value1")
#set_property(TEST mytest PROPERTY test_prop "value2" "value3")
#set_property(TEST mytest APPEND PROPERTY test_prop "value2" "value3")
set_property(TEST mytest APPEND_STRING PROPERTY test_prop "value2" "value3")

get_property(var1 TEST mytest PROPERTY test_prop)
message(STATUS "test_prop = ${var1}")
get_test_property(mytest test_prop var2)
message(STATUS "test_prop = ${var2}")
